package work.xiaohong.jijin.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author xiaohong
 * @version 1.0
 * @date 2021/11/21 0021 11:23
 * @description 线程池配置类
 */
@ConfigurationProperties(prefix = "my.thread")
@Component
@Data
public class ThreadPoolProperties {

    private Integer coreSize;
    private Integer maxSize;
    private Integer keepAliveTime;
    private Integer qeueNumber;

}
